﻿@using CodeCamp.Models.Shared
@model CommonViewModel
@{
    @* ViewBag.RegistrationUrl set in code - SetSharedViewBagProperties *@
    ViewBag.EventName = "";
    ViewBag.Title = "";
    if ((@Model != null) && (@Model.EventDisplayName != null))
    {
        ViewBag.Title = @Html.Encode(@Model.EventDisplayName + " | Signed Out");
        ViewBag.EventName = @Model.EventDisplayName;
    }
    else
    {
        ViewBag.Title = "Code Camp | Signed Out";
        ViewBag.EventName = "Code Camp";
    }
}

<h2>Signed Out</h2>

<p>You have been signed out of the Code Camp site.</p>

@if (ViewData["identityProvider"] != null)
{
    <text>To completely sign out of @ViewData["identityProvider"], close all browser windows.</text>
}
else
{
    <text>To complete your sign out, close all browser windows.</text>
}
